﻿//-----------------------------------------------------------------------
// <copyright file="HasSwitchStatement.cs" company="None">
//     Copyright (c) 2009-2011
// </copyright>
//-----------------------------------------------------------------------

namespace CleanCode.StyleCopCustomRules.UnitTests.Resources
{
    using System;

    /// <summary>
    /// Dummy class to unit test the customized StyleCop rules.
    /// </summary>
    public class HasSwitchStatement
    {
        /// <summary>
        /// Methods the has switch statement.
        /// </summary>
        /// <param name="paramForSwitch">The param for switch.</param>
        public void MethodHasSwitchStatement(string paramForSwitch)
        {
            switch (paramForSwitch)
            {
                case "1": 
                    Console.WriteLine("one");
                    break;

                case "2":
                    Console.WriteLine("two");
                    break;

                default:
                    Console.WriteLine("not important");
                    break;
            }
        }
    }
}
